package cn.itsource.xhy.user.service;

import cn.itsource.xhy.basic.service.IBaseService;
import cn.itsource.xhy.user.domain.LoginInfo;
import cn.itsource.xhy.user.domain.User;
import cn.itsource.xhy.user.domain.dto.UserDto;

public interface IUserService extends IBaseService<User> {

    User findByPhone(String phone);

    void register(UserDto userDto);

    LoginInfo login(User user);
}
